package com.example.sringboot_web.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/index")
public class index extends BaseIndex{


    @RequestMapping("/success")
    public String success() {
        System.out.println("进入succesd=s执行》》》》》》》》》》》");
        return "success";
    }

    @RequestMapping("/fail")
    public String fail() {
        System.out.println("fail=s执行》》》》》》》》》》》");
        return "fail";
    }
}
